package com.kangyi.app.mapper;

import com.kangyi.vo.NursingHomeTagVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author Blank
 * @version 1.0
 */
@Mapper
public interface NursingHomeTagMapper {

    @Select("select tag from nursing_home_tag where nursing_home_id = #{id};")
    List<String> getTags(Integer id);

    List<NursingHomeTagVO> getTagsByNursingHomeIds(List<Integer> nursingHomeIds);
}
